package com.jade.linkong.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jade.common.annotation.Excel;
import com.jade.common.core.domain.BaseEntity;

/**
 * 企业对象 lk_company
 * 
 * @author jade
 * @date 2020-07-13
 */
public class LkCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 企业ID */
    @TableId(value="company_id",type= IdType.ID_WORKER_STR)
    private String companyId;

    /** 企业名称 */
    @Excel(name = "企业名称")
    private String companyName;

    /** 企业编码 */
    @Excel(name = "企业编码")
    private String companyCode;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 负责人 */
    @Excel(name = "负责人")
    private String principal;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    public void setCompanyId(String companyId) 
    {
        this.companyId = companyId;
    }

    public String getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setCompanyCode(String companyCode) 
    {
        this.companyCode = companyCode;
    }

    public String getCompanyCode() 
    {
        return companyCode;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setPrincipal(String principal) 
    {
        this.principal = principal;
    }

    public String getPrincipal() 
    {
        return principal;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("companyCode", getCompanyCode())
            .append("phone", getPhone())
            .append("principal", getPrincipal())
            .append("address", getAddress())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
